package com.vf.cloud.paas.common.util;

public class IPUtil {
	public static boolean isIp(String ip) {
		boolean b1 = ip
				.matches("([1-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])(\\.(\\d|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])){3}");
		return b1;
	}
}
